package com.zzzyh.forumsystemclient.dao;

import com.zzzyh.forumsystemclient.model.User_Article;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface User_ArticleMapper {
    int insert(User_Article row);

    int insertSelective(User_Article row);

    User_Article selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(User_Article row);

    int updateByPrimaryKey(User_Article row);

    User_Article getUserArticle(@Param("userId") Long userId, @Param("articleId") Long articleId);

}